Along with each implementation class, Castor also generates a descriptor class that contains the binding and validation code. 除了每个实现类,Castor还生成描述符(descriptor)类,该类包含绑定和验证代码。
Before, with Java 2 Platform, Enterprise Edition ( J2EE), these two tasks had to be done by hand; you had to explicitly define the service reference in the deployment descriptor and then write extra code to perform a JNDI lookup to obtain the actual reference. 以前在Java2Platform,enterpriseedition(J2EE)中,不得不手工地完成这两个任务,您必须在部署描述符中明确地定义该服务引用,然后编写额外的代码以执行JNDI查找,获取实际的引用。
For every one hundred or so lines of Java code, you can expect to generate at least three times as much supporting J2EE descriptor code to get the job done. 对于每一百行左右的Java代码,预计可以生成至少三倍多的支持J2EE描述符代码来完成工作。
Rather than rely on some external UI descriptor files, Visual Editor actually uses the Java code as its UI definition format. 没有依赖一些外部UI描述符文件,VisualEditor实际上使用Java代码作为其UI定义格式。
These are called official procedure descriptors, and they contain the information the linker needs to combine position-independent code from different shared object files together. 它们称为正式过程描述符(officialproceduredescriptor),其中包含了链接器将不同共享对象中与位置无关的代码组合在一起所需要的信息。
Entity beans are designed to be self-contained components that are configured with a deployment descriptor and can be deployed into any J2EE application server without any code changes. 实体bean被设计成自包含组件,这些组件配置有部署描述符,无需更改任何代码就可以将它们部署到任何J2EE应用程序服务器。
The client deployment descriptor, in a file called application-client. xml, contains references to the JNDI names of the JMS connection factory and queue that are used in the above code. 客户端部署描述符,在一个称为application-client.xml的文件中,包含对用于上述代码中JMS连接工厂和队列中JNDI名称的引用。
The BPEL file and the deployment descriptor for the merged production workflow are included in this article's source code ( see Download). 合并的生产工作流程的BPEL文件和部署描述符都包含在本文的源代码中(参见下载)。
Some required settings need to be provided with the portlet's deployment descriptor, and since these items are also supplied by a portlet developer, they are therefore considered custom code. 需要使用Portlet的部署描述符提供一些必须的设置,而且,由于这些项也是由Portlet开发人员提供的,因此被认为是自定义代码。
Since the request for the container can be put in the code, the overhead cost of synchronizing the deployment descriptor with the code is minimized. 因为可以将对容器的请求放入到代码中,所以使得对部署描述符与代码进行同步的开销减到最小。
A kernel device driver is designed to relocate the application's user-mode stack to the higher address and to modify the effective limit in the code segment descriptor, so the relocated stack is excluded from the code segment. 设计了一个内核驱动程序,将应用程序的堆栈移动到代码区的上部,并修改代码段的限长将堆栈区排除在代码段之外。